home *** CD-ROM | disk | FTP | other *** search
/ United Public Domain Gold 2 / United Public Domain Gold 2.iso / business / pb016.dms / pb016.adf / Uedit-Tutor < prev    next >
Text File  |  1992-06-18  |  34KB  |  793 lines

  1.  
  2.  
  3.                                 Uedit-Tutor
  4.                     Copyright (C) 1986-92, Rick Stiles
  5.  
  6.                  ((See Uedit-Policy for purchasing info.))
  7.  
  8.  
  9.                             **** DISCLAIMER ****
  10. I can accept no responsibility, if you crash your Amiga or lose text files
  11. with Uedit.  No guarantees, either explicit or implied, are made as to
  12. Uedit's safety.  If you use it, it is at your own risk.
  13.                             **** ********** ****
  14.  
  15. Dear folks,
  16.  
  17. (See Getting Started, below, for immediate instructions.)
  18.  
  19. Uedit is an editor for technical users.  It has many wordprocessing features.
  20.  
  21. In developing and enhancing Uedit, the aims have been for the user to:
  22.    o Be able to work without bumping into limits of power and capacity
  23.    o Be able to automate repetitive work, eliminate tedium, save time
  24.    o Be rid of the irritation of wasted keystrokes and stodgy performance
  25.    o Be able to customize the environment fully
  26.    o Be able to create, on the spot, new capabilities that are needed
  27.  
  28. Uedit is Shareware.  You can get a copy from a friend or off a computer
  29. network and try it out, in order to decide whether to purchase the full
  30. package or not.  (See Uedit-Policy for purchasing info.)
  31.  
  32. What's missing?  This freely distributable (UES) version of Uedit has only
  33. one limitation:  It has a 4-file limit.  I hope that if you get beyond the
  34. trying-out stage and actually use it, you will take the time to register.
  35.  
  36.                                About Uedit
  37.  
  38.  
  39. You can try Uedit immediately without reading beyond this paragraph.  The
  40. menus, HyperText Help, and Teach Mode should be enough for most users to get
  41. going.
  42.  
  43. When you use Teach Mode, be sure to try the shift/alt/ctrl/Amiga shift keys,
  44. to find out what the various combinations do with the keys and mouse-clicks
  45. and gadgets in the message line.  Abort out of Teach Mode with Amiga-ESC.
  46.  
  47. Goals in writing Uedit were openness, flexibility, power, friendliness -
  48. above all to give you Freedom of Choice.
  49.  
  50. Being able to edit 100 files (or more, using the stacks) is only the
  51. beginning of the depth Uedit has got.
  52.  
  53. Learn Mode adds a new dimension, providing instant automation for people who
  54. hate reading instructions and only want to know enough to get the job done.
  55.  
  56. The command language adds another dimension, letting you rewrite Every
  57. command, even the gadget and mouse button commands - on the fly.  Example:
  58. Put the cursor anywhere before the following command and press F6.
  59.              <normal-esc: putMsg("Welcome to Uedit!")
  60.                           alertUser("Click me") >
  61. Now press Esc.
  62.  
  63. Then there is the overall configurability and customizability, being able to
  64. swap and kill keys, change colors, customize the menus, etc.
  65.  
  66. Then there is the ability to switch configurations, changing the personality
  67. of Uedit in seconds, without interrupting editing.
  68.  
  69. Then there is the fact that it sleeps so that other tasks run efficiently and
  70. can start other tasks and load in their results so that you can use them.
  71.  
  72. The ARexx interface allows you to send commands or text to Uedit from CLI or
  73. to and from host programs.
  74.  
  75. The "infinite" buffer and number stacks let you edit as many files or hold
  76. onto as many buffers or numbers as memory will hold.
  77.  
  78. Spooled file saving and spooled printing continue while you are editing or
  79. when Uedit is in tiny window.
  80.  
  81. You can click the title bar and go to tiny window even during an operation,
  82. and the operation continues while in tiny window.
  83.  
  84. The spell-checking feature allows you to spell-check documents, build
  85. dictionaries, create and use dictionary supplements, and so on.
  86.  
  87.                                  Features
  88.  
  89. There are too many features to go into here.  To name just a few:
  90.  
  91. It has on-line Help as well as Teach Mode that teaches the purpose of keys,
  92. gadgets, clicks, and menu selections.  (To get a list of all keys that move
  93. the cursor, select Apropos and type "cursor".)
  94.  
  95. It has split windows, colored (hilite and invert) regions, interlace screen
  96. and RGB color tuning, mouse-scrolling, cursor-placement and hiliting, full
  97. sets of cut/copy/paste/clear capabilities for scratch, inverted, or hilited
  98. as well as columnar text.
  99.  
  100. It has paragraph reformatting, page-making commands, printer selection and
  101. controls, undo-deletes, (global and optionally incremental) search-replace,
  102. edit-while-you-print up to 12 documents or regions, ctrl-click-loading of any
  103. filename anywhere, an ARexx interface, and much more.
  104.  
  105. New commands can be typed into any buffer.  They are compiled in a fraction
  106. of a second typically, when you put the cursor in front of them and press f6.
  107. The command development and debugging environment is extremely fast.  New
  108. commands can be tested immediately after they have been written or changed.
  109.  
  110. The main reason the features can't be listed is that you can create new ones
  111. anytime.  Many (probably most) of the ideas for improving Uedit have come
  112. from users.
  113.  
  114.                        Ignore the Technical Aspects
  115.  
  116. Experience has shown that most Uedit users are technical, even though the
  117. program was always meant for everyone to use.  If you aren't technical or
  118. don't want to take time right now, try it like you would any editor or
  119. wordprocessor.  Ignore anything that sounds technical or tedious.
  120.  
  121. For instance, learn mode couldn't be simpler to use.  It offers benefits that
  122. rival the command language and overall customizability of the program.
  123.  
  124. (To start learning, press Ctl-s.  Give any series of inputs.  Press Ctl-r to
  125. stop the learning.  Press Ctl-r again to run the series of steps.)
  126.  
  127. And remember:  Almost anything you don't like can be changed by the user.
  128.  
  129.                               Getting Started
  130.  
  131. Workbench and CLI:
  132.  
  133. You can run Uedit immediately in Workbench by clicking its icon.
  134.  
  135. You can run it immediately in CLI by typing "Run UE file1 file2 file3 etc".
  136.  
  137. To be able to run UE from any directory, run CLI and type the following:
  138.                 Copy    UE   C:
  139.                 Copy    NoName.info S:
  140.                 Copy    Data! S:
  141.                 Copy    Help! S:
  142.                 Copy    Key-Help S:
  143.                 Copy    Help-Key S:
  144.                 Copy    HyperSample     S:Hyper/Files
  145.                 Copy    HyperSample.tbl S:Hyper/Tables
  146.                 And if you've got the disk space,
  147.                     Copy Config!#? S:
  148.  
  149. Now you can run Uedit from any directory.  NoName.info must be in S:, if you
  150. are going to select Make Icons so that Uedit will create file icons.  (You
  151. can supply a custom NoName.info icon, of course.)
  152.  
  153. Data! and Help! must either be in S: or in your current working directory.
  154.  
  155.  
  156. Here is what the key-prefixes mean in the menu selections:  S=Shift, A=Alt,
  157. C=Ctrl, L=leftAmiga, R=rightAmiga.  Keypad keys are abbreviated with "kp".
  158.  
  159. If a menu selection says "L-0", it means pressing left Amiga key and "0" will
  160. do the same thing as the menu entry.  If it says "SA-kp7", it means press
  161. Shift and Alt along with the 7 on the keypad.
  162.  
  163. Press Help or use HyperText as needed.  Start HyperText by pressing rAmiga
  164. and clicking the left mouse button.  Select Teach Keys to learn about Uedit's
  165. keys.  When finished with Teach Keys, press Amiga-ESC.  (HyperSample and
  166. HyperSample.tbl must copied to S: as shown above.)
  167.  
  168. Amiga-ESC is the general purpose Abort key.  Use it to Abort any operation.
  169.  
  170. To slide Uedit's screen up/down, put the mouse at the very top of the title
  171. bar.
  172.  
  173. CLI command line:
  174.  
  175. The "Run UE" command line can have any number of file names in it, up to the
  176. maximum that you are configured to use.
  177.  
  178. The following flags can be used in the CLI command line as well.  The flags
  179. must come before the file names in the command line.  Example:
  180.     Run UE -a0x0f0f0f0f -b12345678 -lMyLearnSeq -k300 -dDataFileName
  181.     -cConfigFileName -sStateFile file1 file2 file3 ....
  182.  
  183. -a and -b initialize the global variables UserGlobalA and UserGlobalB.  -s
  184. causes the StateFile to be loaded in.  -l causes the learned sequence to be
  185. run after the files in the command line (or StateFile) are loaded in.  -k
  186. causes the key with the corresponding macro-number to be executed - after the
  187. files (if any) are loaded, and after the learned sequence (if any) is run.
  188. The flags are handled in the following order:
  189.     -c load config file and compile it (default file is Config!)
  190.     -d load data file, if -c wasn't used  (default file is Data!)
  191.     -a and -b set the global user variables
  192.     Load files, if any
  193.     -s load state file (default file is UeState)
  194.     -l run the learned sequence
  195.     -k run the key
  196.  
  197. The function keys, F1 thru F10, do the following (with no shift keys):
  198.  
  199.     F1 = next file
  200.     F2 = save file
  201.     F3 = close file
  202.     F4 = quit
  203.     F5 = swap next 2 commands
  204.     F6 = compile command following cursor
  205.     F7 = input search text and search fwd
  206.     F8 = input replace text
  207.     F9 = search fwd
  208.     F10 = replace & search fwd
  209.  
  210.  
  211. Files and buffers:  Uedit has 100 buffer for holding documents and bits and
  212. pieces of text.  The lowest buffer numbers are used for holding documents.
  213. Any number of buffers may also be stored on the buffer stack.  (The same is
  214. true of the number stack and the file-saving queue.)
  215.  
  216. How many files Uedit will let you load in is determined by the Max Files menu
  217. selection.
  218.  
  219. Directories and Files:
  220.  
  221. The easiest way to load a file is to Ctrl-click its name in Uedit.  There are
  222. two "current" directories:
  223.  
  224.     One is the Current Directory in which the Uedit program is running.  This
  225.     is the directory you started up in, unless you change it.  (See AmigaDOS
  226.     menu.)
  227.  
  228.     The second is the click-loading directory that Uedit currently is using.
  229.     The default click-loading directory is also the directory you started up
  230.     in, but you can change it as described below.
  231.  
  232. If you ctrl-click a directory name such as S: in any buffer, the directory
  233. name is added to the list of directories in buffer 38.  If you ctrl-click in
  234. whitespace in any buffer, a split window opens up showing you the directory
  235. list (buffer 38) with the current click-loading directory hilited.
  236.  
  237. In the split window (buffer 38), you can change the current directory, get a
  238. dir listing, edit or save the directory buffer, get the current directory
  239. (CD), or select a new click-loading directory.
  240.  
  241. You can also get a directory listing by selecting Directory in the menu.  The
  242. directory name you give is put into the directory list and becomes the
  243. current click-loading directory.  Or you can get a listing by running an
  244. external List or Dir command using Dos+Result in the AmigaDOS submenu.
  245.  
  246. The Files menu lets you load/insert/rename/restore/save/close files.
  247.  
  248. Miscellaneous:
  249.  
  250. In the title bar are a series of lettered flags "tiokrwjmcabf" which are
  251. local - that is, they applie only to the current file you are editing.
  252. Select Local Modes or press shift-f5 to see what they mean.  Clicking a flag
  253. toggles it On or Off.  If it is On, the letter is capitalized.
  254.  
  255. To make the 4 invisible "gadgets" in the message line visible or invisible,
  256. or to change any of the global switches, select Global Modes or press Ctrl-g.
  257.  
  258. Scrolling:  Scroll vertically by holding down the mouse button and moving the
  259. mouse.  The arrow keys also do vertical and horizontal scrolling.  You an
  260. also create a hilite region with the mouse by double-clicking and dragging
  261. the mouse.
  262.  
  263. For for slower scrolls, either hold down the up/down arrow key or use Shift,
  264. Alt, or Ctrl with the arrow key.  Or use the up/down gadgets in the message
  265. line.
  266.  
  267. Moving the Cursor:  Most of the time you may prefer placing the cursor by
  268. clicking the left mouse-button.
  269.  
  270. The keypad keys 2, 4, 6, & 8 move the cursor up/down/left/right by word/
  271. character/line/page depending on which shift key is used.
  272.  
  273. (Teach Keys will give you the sense of the keypad keys.)
  274.  
  275. Scratch deletes & Undo:
  276.  
  277. Scratch deleting is what you'd normally use in meat & potatoes text work.  The
  278. following keys do scratch deletes at the cursor location:
  279.  
  280.     Ctrl-d deletes the cursor line.
  281.     Keypad-7 (unshifted) deletes word-left.
  282.     Keypad-9 (unshifted) deletes word-right.
  283.     Shift-kp7 deletes character left.
  284.     Shift-kp9 deletes the character under the cursor.
  285.     Alt-kp7 deletes to start of line.
  286.     Alt-kp9 deletes to end of line.
  287.     Ctrl-kp7 deletes to top of window.
  288.     Ctrl-kp9 deletes to bottom of window.
  289.  
  290. These are the "scratch" delete keys.  When you use them, the deleted material
  291. is stored in the scratch-delete (Undo) buffer.  Long as you don't move the
  292. cursor and make a delete somewhere else, you can store any number of scratch
  293. deletes.
  294.  
  295. Pressing keypad-0 inserts the Undo buffer at the cursor.  Thus, after doing a
  296. series of scratch deletes using the above keys, you can place the cursor
  297. somewhere, press keypad-0, and insert the deleted material.
  298.  
  299. If you move the cursor and do another scratch delete, the Undo buffer is
  300. cleared before the newly deleted text is stored.  You should do most of your
  301. cut & paste the quick & dirty way, with scratch-deletes and the Undo key.
  302.  
  303. If you select Undo Buffer in the Split Window menu, you can monitor the
  304. contents of the Undo buffer and edit it.
  305.  
  306. To adjust the size of any split window, activate the window by clicking it
  307. with the mouse and then press lAmiga-= and adjust the size by holding the
  308. left mouse-button and moving the mouse.  Up to 8 split windows are allowed.
  309.  
  310. There are many ways to do cut/copy/paste operations and to do them in
  311. parallel:
  312.  
  313. You can be doing cut & paste using scratch deletes, hilite and invert
  314. regions, and columnar data, all at the same time.  If these aren't enough,
  315. there are 100 buffers to put bits and pieces into.  Any number of buffers can
  316. be put onto the stack using Push Buf, so you can maintain as many files and
  317. buffers as memory will hold.
  318.  
  319. Creating a hilite region:
  320.  
  321. There are 3 ways to mark a hilite region.  Press HELP to see how.
  322.  
  323. But rather than do that, try this:  Place the mouse high up in the text. 
  324. Hold down the Shift key and click the mouse.
  325.  
  326. Move the mouse to the lower right in the text.  Hold down the Alt key and
  327. click the mouse.
  328.  
  329. There should now be a hilited region.  This is one method of hiliting.
  330.  
  331. Try this:  Select Hilite Buf in the Split Window menu.  This shows you the
  332. contents of the copied hilite buffer.
  333.  
  334. Put the cursor anywhere in the colored, hilited region in the original buffer.
  335.  
  336. Now press keypad-Minus, the "-" key on the keypad.  This "cuts" the hilited
  337. region.  The region disappears.  (Don't move the cursor yet!)
  338.  
  339. Note that the cut material appeared instantly in the copied hilite buffer.
  340.  
  341. Now press keypad-Enter.  This puts the "cut" text back where it was.  And it
  342. is hilited.  To unhilite it, press alt-h or select Unhilite.
  343.  
  344. To get rid of a split window, click the mousebutton in it, making it the
  345. active window-split.  Then select Drop Split in the Split Window menu or
  346. press lAmiga-0.
  347.  
  348. Columnar text:
  349.  
  350. Columnar regions are rectangular.  This means that when you create a hilite
  351. region to use for columnar text movement, the Start of the hilite region must
  352. be in a Lefthand column and the End of the hilite region must be in a
  353. Righthand column.  No region exists if the end of the region is not in a
  354. higher column number.
  355.  
  356.  
  357. Place the mouse high up in the text and to the left.  Press Shift and click
  358. the mousebutton.
  359.  
  360. Place the mouse low down and to the right and press Alt and click the button.
  361.  
  362. Select Col Display in the Edits menu.  Now the region should be displayed as
  363. rectangular.
  364.  
  365. Select Col Copy in the Columnar menu or press Keypad Dot.  This makes a copy
  366. of the columnar region.
  367.  
  368. Put the cursor anywhere with the mouse.  Select Col Insert in the Columnar
  369. menu or press Keypad Enter and it inserts the copied columnar text.
  370.  
  371. To remove the inserted text, select Col Cut in the menu or press Keypad Minus.
  372.  
  373. Experiment with columnar text in order to understand how to manage it.  (If
  374. you altered this Uedit-Tutor file just now, select Restore in the Files Open
  375. menu to restore it to the original.)
  376.  
  377. When using columnar display mode, TABS are shown as "box" characters.  This is
  378. so that columns line up correctly when spaces and TABS are intermingled, as
  379. they often are.  (If tab spacings had to have regular spacing, this wouldn't
  380. be necessary, but tabs can have any desired spacing.)
  381.  
  382. Tab Rulers:
  383.  
  384. There are 5 tab tables in Uedit, numbered 0 to 4.  You can change the tab
  385. table your document is using by selecting Tab Table in the menu.
  386.  
  387. Individual documents can use different tab tables.  The tab ruler shows the
  388. tabs in the current document's tab table.
  389.  
  390. Select See Ruler to see what the tab columns are or select Set Ruler to set
  391. the tab columns.
  392.  
  393. If you have selected Set Ruler and wish to set tabs at high columns beyond
  394. the right edge of the window, hold the mouse-button down and drag the mouse
  395. to the left, then release the button.
  396.  
  397. To slide the ruler to the right, drag the mouse rightward.
  398.  
  399. Tab columns can be set by clicking the mouse within 2 lines of the ruler, or
  400. by using the keys that the help message says to.
  401.  
  402. Screens, colors, and RGB tuning:
  403.  
  404. The Lace/Planes submenu lets you select from 4 screens, which use 2 or 4
  405. colors, regular or interlace.  You can see the most lines of text by using
  406. interlace.  Scrolling with the mouse is fastest and the least memory is used
  407. with a regular 2 color screen.
  408.  
  409. You can tune the RGB colors by selecting Tune RGB.  Alt-Help lets you select
  410. the colors for text, msg line, title bar, hilite, and so on.  Each buffer can
  411. use its own text colors.  If you change the colors and want the menu colors
  412. updated, select Do Menus.
  413.  
  414. Printing:
  415.  
  416. In the Printing menu, select Print Select and put in a number 0 to 3,
  417. specifying where you want your printing to go.  The message line tells you
  418. what the numbers 0-3 mean:
  419.     0 = raw text out the parallel port
  420.     1 = raw text out the serial port
  421.     2 = processed text using the Amiga's printer device
  422.     3 = raw text using the Amiga's printer device
  423.  
  424. If you embed Uedit's printer control codes in your text (such as for boldface,
  425. italics, etc) using the Bracket Hilite or Embed Code menu selections, you
  426. should set "Print select" to 2 or 3.
  427.  
  428. If you embed your own custom printer codes in the text, then you can use
  429. Print Select values 0, 1, or 3, and they will be sent to your printer in raw
  430. form.  (Print-select value 2 allows the printer device to eat control codes
  431. that the Amiga printer device doesn't recognize.)
  432.  
  433. (To embed CTRL characters, such as ESC, press ctl-c and then the desired
  434. character.  To identify any control character in the text, put the cursor on
  435. it and press ctl-/.)
  436.  
  437. Print queue:  In the printing menu, you can select Print Hilite or Print
  438. File.  Long as the print-job will fit into memory, you can queue up as many
  439. as 12 print-jobs and continue editing while they print.
  440.  
  441. You can queue up print jobs to different printers, by changing Print Select
  442. before selecting Print Hilite or Print File for each print-job.
  443.  
  444. If the print-job is too big for memory, you must wait until printing is
  445. finished before continuing editing.
  446.  
  447. Save on idle:  Clicking the "a" (or "A") in the tile bar turns On or Off the
  448. local flag for Save On Idle.  Being local, it applies only to the current
  449. file you are editing.  When the current file has been modified and you pause
  450. for 10 or more seconds, it is saved automatically.  The pause-length can be
  451. changed using Idle Timer in the Numbers menu.
  452.  
  453. Margins, line-length, and lines-per-page:  In the Line/Page menu are
  454. selections for lines/page, line-length, top/bottom margins, and end-of-line.
  455.  
  456. If you want an "inner" left margin temporarily, use autoindentation so that
  457. succeeding lines stay at the same indentation.  (The autoindentation setting
  458. is changed using the "i" (or "I") flag in the title bar.
  459.  
  460.  
  461. To control the right margin, set line-length to the desired value.
  462.  
  463. If you set Left Margin in the Line/Page menu to any value greater than 0,
  464. typing uses the new left margin value.  Also, reformatting paragraphs causes
  465. them to be reformated at the left margin value.
  466.  
  467. Thus you can reformat an inset paragraph so that it is moved to the far left
  468. by setting Left Margin to 1 and reformatting it.
  469.  
  470. Paragraph reformatting:  To reformat a paragraph, put the cursor in the line
  471. where you want reformatting to begin.  Then select Paragraph in the Text
  472. Reformats submenu or press ctl-3.
  473.  
  474. Paragraph reformatting ends when it reaches a blank line or a different
  475. indentation.
  476.  
  477. Page formatting:  See the Paging menu.
  478.  
  479. Pages are determined by formfeeds in the text or by the line-count, using the
  480. current lines-per-page value.  To set the lines/page, see the Line-Page menu.
  481.  
  482. The Page Formatting menu has selections for going to page#, going to top of
  483. page, gding to bottom of page, inserting a page-division, deleting the next
  484. page-division, and auto-inserting page-divisions in your entire document.
  485.  
  486. When a page-division is inserted, the page number is automatically put in.
  487.  
  488. You can erase the page number by selecting Del Page #.
  489.  
  490. Page numbers are put 1/2 the bottom margin distance from the bottom of the
  491. page, where the bottom of the page is simply the lines/page setting (normally
  492. 66).
  493.  
  494. (Note that these are all user-customizable commands which you can modify
  495. and recompile.  Every command is customizable.)
  496.  
  497. When a page-division is inserted, the top margin for the next page is also put
  498. in, after deleting any blank lines.
  499.  
  500. The formfeed causes the display to draw a line across the window, making page
  501. divisions easy to spot.
  502.  
  503. You can find page divisions quickly by using the Bottom Page and Top Page
  504. menu selections.  (These are lAmiga-b and lAmiga-H.)
  505.  
  506. To insert a page-division and page number at the cursor, press lAmiga-v or
  507. select Divide Page.
  508.  
  509. To remove a page division, put the cursor anywhere in the page above the page
  510. division and press lAmiga-d or select Del Page Div.
  511.  
  512.  
  513.                               Odds and Ends
  514.  
  515.  
  516. To abort any operation, press Amiga-ESC.
  517.  
  518. Primitive Mode is used for special text and number inputs.  The Title Bar and
  519. the message line tell you what to do in Primitive Mode.
  520.  
  521. If you press F7 to input a search string, you'll be in Primitive Mode.  Type
  522. in the search text, then press ESC or click the mousebutton to terminate the
  523. input.
  524.  
  525. In Primitive Mode, you can type in Ctrl characters (such as ctl-m for
  526. carriage return) directly.  No need to press ctl-c first.
  527.  
  528. You can change the Primitive Mode terminator character from ESC to some other
  529. Ctrl character (such as the Return key) by selecting PM Terminator in the
  530. menu or by pressing ESC.
  531.  
  532.  
  533. You can search for two things at once by putting a "$" dollar sign between
  534. two search strings.  This is the eitherOr delimiter.  To cause searching
  535. to skip a particular pattern, use the "all-but" delimiter which is "~".
  536.  
  537. The "?" question mark is used by search as a single-character wildcard.  The
  538. "*" is used as a multi-character wildcard.
  539.  
  540. You can change these special characters by selecting Wildcards or Either-or
  541. in the Settings menu.
  542.  
  543. To change the case-sensitivity of searching, select Global Modes or press
  544. Ctl-g and click the SearchCaps flag.
  545.  
  546.  
  547. In the message line are fake "gadgets" (if Mark gadgets is turned On), such
  548. as "Next file", "Prev file", and so on.
  549.  
  550. These message-line gadgets are similar to keys and mouse clicks.  They can be
  551. swapped, killed, reprogrammed, learned, used in menu selections, and so on.
  552. Gadgets can be used with shift-keys, so there can be up to 36 gadgets.
  553.  
  554.  
  555. Menu selections are always usually attached to a key, gadget or mouse-button
  556. command.  If you swap a menu selection, the key you swapped it with is run
  557. when you select that menu item.  (See the Keys submenu.)
  558.  
  559.  
  560. Bookmarks:  The Shift-gadget commands allow you to place up to 8 bookmarks in
  561. any buffer and goto the next or previous bookmark.  Be sure to shift-click
  562. the 4th (rightmost) gadget to initialize the bookmarks first, if you are
  563. going to use the default bookmarks.
  564.  
  565. Grep:  Uedit has an enhanced grep, in addition to the normal search & replace
  566. capability.  The grep commands are the following:
  567.     lAmiga-f7:  set grep /search/replace/ string
  568.     lAmiga-f9:  grep search forward
  569.     rAmiga-f9:  grep search backward
  570.     lAmiga-f10: grep replace & search forward
  571.     rAmiga-f10: grep replace & search backward
  572.  
  573. More odds & ends:
  574.  
  575. Uedit sleeps when it can, so that other tasks will run faster.
  576.  
  577. Clicking the Title Bar switches to the tiny window.  The tiny window comes
  578. up inactive, so you can type into CLI immediately.
  579.  
  580. This also lets the Amiga reopen the big window in a better memory location.
  581.  
  582. If memory runs out and the "Memory..." message appears, that means Uedit is
  583. compacting its stuff in memory, creating a larger contiguous free area.  If
  584. "Memory..." appears, you ought to save and close some documents.  Also it's a
  585. good idea to click the Title Bar and reopen Uedit's window.
  586.  
  587. Uedit sleeps between inputs.  If you don't type anything for 4 seconds, it
  588. does housekeeping.  If you select "Busies", you'll see which buffer is being
  589. worked on.  When the housekeeping is done, it sleeps.
  590.  
  591.  
  592. In the window's Title Bar, brackets [buf#,flags] contain the buffer number and
  593. various flags.  If Learn Mode is currently learning, "L#" appears, where #
  594. is the number of steps in the learned sequence.  If you are in Teach Mode,
  595. "T" appears.  (To get out of Teach Mode, press Amiga-ESC.)  If documents are
  596. queued up for printing, "P#" appears, where # is the number of print jobs yet
  597. to be done, up to 12 maximum.  If file-saves are in the queue, "S#" appears,
  598. where # is the file-saves remaining.
  599.  
  600. You can change the font Uedit is using by selecting Set Font.  First type in
  601. the font name and press ESC; then type in the font size (usually 8).  Uedit
  602. speeds up the displaying of sized 8 and 11 fonts, such as Topaz 8, Clean 8,
  603. and Topaz 11, but it will let you use any font.
  604.  
  605. Uedit works with all known hardware add-ons.  Some people start Uedit in
  606. their Workbench df0:S/Startup-Sequence and do everything from inside it.
  607. They let it sleep in tiny window while they are working elsewhere.
  608.  
  609. To see the current settings for line-length, lines/page, tab-table, margins,
  610. Uedit Serial Number, etc, press shift-HELP or select Show Vals.  This also
  611. shows you the size of the current file.
  612.  
  613. Some settings are global and others are local to the current file.  The
  614. global flag settings can be seen by selecting Global Modes (Ctl-g), and the
  615. local flags are in the title bar; you can see a description of them by
  616. selecting Local Modes (shift-f5).
  617.  
  618. Note that changing a local flag doesn't affect new files that are loaded in
  619. later on.  To change the Wordwrap setting for new files, for instance, click
  620. the Wordwrap flag in the Global Modes (ctl-g) table of switches.
  621.  
  622.  
  623. To recover the original configuration after fooling with commands, colors,
  624. etc, select Load Data.
  625.  
  626. After making any of the changes discussed here, selecting Save Data saves all
  627. current settings to the data file on disk.
  628.  
  629.  
  630.                               Editing Tricks
  631.  
  632.  
  633. If you are like me and hate reading instructions, and expect programs to be
  634. Easy Without Reading, then Learn Mode is for you.
  635.  
  636. No reading is necessary.  Learn Mode uses just the normal editing stuff.
  637.  
  638. It offers immense power and capacity to automate tedious, repetitive jobs.
  639.  
  640. If you need to search and replace misspelled names in 300 documents, you can
  641. teach Learn Mode how to do one and let it do them all while you take a break.
  642.  
  643. To set up for such automation takes only as many seconds as it takes you to do
  644. one operation yourself, showing Learn Mode what to do.
  645.  
  646. Simply press ctl-s to start Learn Mode, do the sequence of operations, and
  647. press ctl-r to end Learn Mode.  (If you press ctl-s a second time, it
  648. aborts and wipes out the learned sequence.)
  649.  
  650. Then press ctl-r to see how it works.  If you did it right and it works
  651. right, press ctl-m to set the command multiplier and then press ctl-r to run
  652. it as many times as desired.
  653.  
  654. Shift-alt-c is the Cycle Counter command:  Follow it by any key that you want
  655. repeated, such as ctl-r (run learned sequence) or f9 (search forward) and it
  656. will run the key until it "fails" - assuming (and this is not always the
  657. case) that the key's command returns a meaningful true or false.  When an
  658. execution fails, the number of successful runs is shown in the message line.
  659.  
  660. Thus you can count the words in a document by putting the cursor at start-of-
  661. file and pressing SA-c followed by kp-6.  Or count the lines by using kp-2
  662. instead of kp-6.  Or count the occurrences of a certain word by using f9.
  663.  
  664. (Note:  If it runs forever, probably the iterated command is not returning a
  665. False.  So press Amiga-ESC to abort out of it.)
  666.  
  667. The Manual has lots of Examples and Editing Tricks showing how to take
  668. advantage of Uedit's versatility and power.  It describes how to use Learn
  669. Mode to click-add numbers or click-bracket words, do a mail-merge, and so on.
  670.  
  671.  
  672. A useful trick is to swap Run Learn (ctl-r) with the mouse's buttonUp
  673. operation.  (The menu selection Swap MouseUp lets you do this swap.)
  674.  
  675. Then when you click the button, buttonDown will deposit the cursor like it
  676. normally does, and buttonUp will execute a learned sequence!
  677.  
  678. The learned sequence can be anything.  It can, for instance, click-bracket
  679. text with printer control codes.  The Manual's Editing Tricks present such
  680. examples.
  681.  
  682. Or you can swap the mouse's buttonUp operation with another key, such as the
  683. add-numbers key (ctl-=).  Just select Swap MouseUp and press ctl-=.
  684.  
  685. Then you can click-add numbers that are scattered in various documents.  The
  686. running total is shown in the title bar.  Pressing ctl-\ will put the total
  687. into the text at the cursor.
  688.  
  689. To unswap the command, select Swap Mouseup again and press the key you
  690. swapped with originally (such as ctl-r or ctl-=)
  691.  
  692. Learned sequences can be stored on disk as files.  They are stored in the
  693. current directory.  (This can be changed.)  If you copy them to S:, Uedit
  694. will find them from any directory.  The Learn menu lets you start, terminate,
  695. run, load, and save learned sequences.
  696.  
  697. A saved learn sequence might, for instance, go to top of document and type in
  698. a header, or go to bottom of document and type your name and address.  You
  699. could save it to disk and select Load & Run in the Learn menu to run this
  700. learned sequence anytime.  Or you could assign a special key that inserts a
  701. header in one keystroke:
  702.  
  703.         <normal-esc: if (loadLearn("MyHeader")) runLearn >
  704.  
  705.  
  706.                             Config! and Data!
  707.  
  708.  
  709. Config! is a configuration file which is the source of every command Uedit
  710. currently uses.  (Except, of course, you can change anything while editing.)
  711.  
  712. A configuration may be of a number of files.  The current standard config
  713. consists of:  Config!  (defaults and menu selections) Config!H (hyper text,
  714. grep, & bookmarks) Config!M (misc) Config!P (printing & paging) Config!R
  715. (ARexx) Config!S (spelling & split windows) Config!Z (new or modified
  716. commands - it may or may not exist)
  717.  
  718. Data! is a compiled copy of Config! which Uedit loads at startup.
  719.  
  720. Data! should be in your S: directory or current directory, along with Help!
  721. and Key-Help.  If Data! is in S:, you can run Uedit from any directory or
  722. disk drive.
  723.  
  724. To make Uedit recompile the config file, in CLI type:  Run Ue -c
  725.  
  726. The Config!(A-Z) have to be in your current directory or in S:.
  727.  
  728. You can keep as many config and data files on hand as you want.  The Save
  729. Data and Load Data menu selections let you switch configurations or save
  730. changes to Uedit that you have made while editing.
  731.  
  732. You can load and save data files from/to any directory and under any name.
  733. By customizing Uedit, you can turn it into an emulation of a favorite program
  734. or a disk utility or even possibly a spreadsheet.  While editing, you can
  735. select Load Data and load in an entirely different configuration, changing
  736. its appearance and behavior.
  737.  
  738. If you run Uedit by typing "Run UE -dDataFile .." or "Run UE -cConfigFile .."
  739. in CLI, it will load DataFile or compile ConfigFile.
  740.  
  741. There can be hundreds of commands on-line at the same time.  Keys can load,
  742. compile, run, swap, and kill other keys, so there really is no limit to how
  743. many commands can be available at the press of a key.
  744.  
  745. Also you can create Partial Data files which contain blocks of commands that
  746. can be loaded in collectively or individually.
  747.  
  748. There can be up to 7 menus with up to 20 selections each with up to 12 submenu
  749. selections, for a total of 1680 submenu selections.
  750.  
  751.  
  752. The configurability of Uedit is extreme.
  753.  
  754. A directory utility configuration was written that, in some respects, is more
  755. powerful and useful than directory utility programs typically are.  It lets
  756. you load in up to 100 or more directory listings and copy/delete/rename files
  757. and directories.  And while using it you can hold onto the files you were
  758. editing before you switched over to the dir-util config, as well as load in
  759. various files to read, edit, and save while in the midst of directory house-
  760. cleaning.  This dir-util config is available as an extra.
  761.  
  762. Kurt Wessels wrote a config called UStar that emulates WordStar.  UStar is
  763. available as an extra.
  764.  
  765. Eric Kennedy wrote a vi config that emulates the famous unix vi editor.  Unix
  766. users can feel right at home, using VI! instead of Uedit's standard
  767. configuration.  VI! is available as an extra.
  768.  
  769. Kent McPherson has written an edt configuration that emulates the famous EDT
  770. Gold Key editor on DEC minicomputers.
  771.  
  772. Others have written specialized configs for programming and emulations of
  773. popular programs.  These are available as extras or from the authors or in
  774. the public domain.
  775.  
  776.  
  777.                              Acknowledgements
  778.  
  779.  
  780. I wish to thank the many users who have given thoughtful feedback on Uedit
  781. since it came out, or have uploaded it to networks for me at their expense,
  782. or helped in other generous ways.  Most of the improvements since V1.0 have
  783. been due to their feedback, and Uedit's survival is due to the generous
  784. assistance of many users.  Used to be, I included a list here, but I simply
  785. had to take it out.  To name even one person or to try to name all who
  786. deserve it is sure to leave out somebody who really helped a lot.
  787.  
  788.                       *****************************
  789.  
  790.  
  791. Your feedback will be appreciated.
  792.  
  793.